09. Lab: Document Your Dog API
Lab: Document Your Dog API
Reuse your Dog REST API code from Lesson 2 and document it using Swagger.
Step 1: Add the necessary dependencies to the Maven POM file that include Springfox’s implementation of Swagger.
Step 2: Configure Swagger using a Docket Bean.
Step 3: Utilize Swagger UI to review and test your API.
Document Your Dog API Lab
Task Feedback:
Very nice! Using Swagger for documentation helps automate an otherwise sometimes tedious process, and saves more time for coding. Other developers will appreciate your helpful documentation!